﻿module lang.d.sts.declarations.dclass;

import lang.d.sts.declarations.daggregatedeclaration;
import lang.d.visitors.dvisitor;

class DClass: DAggregateDeclaration {
    private string myName;

    // TODO: use set
    private string[] mySuperElemetsIdentifiers;

    public this(string name, uint attribute) {
        super(attribute);
        myName = name;
    }

    public void addSuperElementIdentifier(string identifier) {
        mySuperElemetsIdentifiers ~= identifier;
    }
    
    override public void accept(DVisitor visitor) {
        visitor.visitClass(this);
    }
}